import layout from '@/views/common/layout.vue'

export default [
	{
		path: '/Foundation',
		name: 'Foundation',
		component: ()=>import('@/components/Foundation.vue'),
		redirect: {
			name: 'PersonalCenter'
		}
	},
	{
		path: '/login',
		name:'login',
		meta: {
			title: '学生登录'
		},
		component: ()=>import('@/views/login/Login.vue'),
	},
	{
		path: '/firstChange',
		name:'FirstChange',
		component: ()=>import('@/views/login/FirstChange.vue'),
	},
	{
		path: '/success',
		name:'Success',
		component: ()=>import('@/views/login/Sucess.vue'),
	},

	{
		path: '/personalCenter',
		name: 'PersonalCenterRoot',
		component: ()=>import('@/components/Foundation.vue'),
		children: [
			{
				path: '',
				name: 'PersonalCenter',
				component: () => import('@/views/student/PersonalCenter/PersonalCenter.vue'),	
			},
			{
				path: 'personalInformation',
				name: 'PersonalInformation',
				component: () => import('@/views/student/PersonalCenter/EditInformation.vue'),	
			},
			{
				path: 'applyProjectDetail',
				name: 'ApplyProjectDetail',
				component: () => import('@/views/student/PersonalCenter/ApplyProjectDetail.vue'),	
			},
		]
	},
	
	{
		path: '/projectSquare',
		name: 'ProjectSquareRoot',
		component: layout,
		meta: {
			noTransition: true
		},
		children: [
			{
				path: '',
				name: 'ProjectSquare',
				component: () => import('@/views/student/ProjectSquare/ProjectSquare.vue')
			},
			{
				path: 'projectInterview',
				name: 'ProjectInterview',
				component: () => import('@/views/student/ProjectSquare/ProjectInterview.vue')
			},
			{
				path: 'projectManagement',
				name: 'ProjectManagement',
				component: () => import('@/views/student/ProjectManagement.vue')
			},
			
		]
	},
	
	{
		path: '/teachersAI',
		name: 'TeachersAIRoot',
		component: () => import('@/components/Foundation.vue'),
		children: [
			{
				path: '',
				name: 'TeachersAI',
				component: () => import('@/views/student/TeachersAI/TeachersAIList.vue')
			},
			{
				path: 'teachersAIDetails',
				name: 'TeachersAIDetails',
				component: () => import('@/views/student/TeachersAI/TeachersAIDetails.vue')
			},
			
		]
	},
]
